﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using MasterDetailTemplate.Services.impl;

namespace MasterDetailTemplate.Services
{
    public interface ISplitSentenceService {
        /// <summary>
        /// 将句子拆分根据语义拆分为词-概率
        /// </summary>
        /// <param name="sentence"></param>
        /// <returns></returns>
        Task<List<WordOdds>> SplitSentenceToWords(string sentence);

        List<string> filtrateByThreshold(List<WordOdds> wordOddsList, double threshold);
    }
}
